<script setup lang="ts">
import { ref, onMounted, watch } from 'vue'
import PdfViewer from './PdfViewer.vue'

const pdfUrl = ref('./test.pdf') // 本地PDF放在public文件夹，或使用在线URL
</script>

<template>
    <PdfViewer :pdfUrl="pdfUrl" style="width: 100vw; height: 100vh;"/>
</template>